﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>JskitEffects.html</title>
    <link rel="stylesheet" type="text/css" href="../main.css"/>
    <script src="../../release/jskit.core.js"></script>
    <script src="../JskitConfig_doc.js"></script>
</head>
<body>
<table border="0" id="Table1">
    <tr>
        <td class="package">
            JskitEffects.js
        </td>
    </tr>
    <tr>
        <td class="title">
            Author:
        </td>
    </tr>
    <tr>
        <td class="content">
            AnyRock
        </td>
    </tr>
    <tr>
        <td class="title">
            Initializtion:
        </td>
    </tr>
    <tr>
        <td class="content">
            var flyer = new JskitEffects.Flyer("flyer");
        </td>
    </tr>
    <tr>
        <td class="title">
            Required:
        </td>
    </tr>
    <tr>
        <td class="content">
            core/*
        </td>
    </tr>
    <tr>
        <td class="content">
            <a href="../demo/effects.html">查看JskitEffects Demo</a>
        </td>
    </tr>
    <tr>
        <td class="package2">
            Flyer
        </td>
    </tr>
    <tr>
        <td class="title">
            Methods:
        </td>
    </tr>
    <tr>
        <td class="content">
            <table border="1" cellspacing="0" class="content_list" id="Table2">
                <tr bgcolor="#cccccc">
                    <td>
                        Name
                    </td>
                    <td>
                        Parameters
                    </td>
                    <td>
                        Return
                    </td>
                    <td>
                        Comment
                    </td>
                </tr>
                <tr>
                    <td>
                        set(HtmlObject Obj[,int Speed][,float xStep][,float yStep]);
                    </td>
                    <td>
                        (HtmlObject)Obj :飘动的对象
                        <br>(int)Speed: 移动的速度,缺省为990
                        <br>(float)xStep: 横向移动的步长,单位为像素,缺省为2
                        <br>(float)yStep: 纵向移动的步长,单位为像素,缺省为2
                    </td>
                    <td>
                    </td>
                    <td>
                        装配飘动的对象和其他参数
                    </td>
                </tr>
                <tr>
                    <td>
                        stop()
                    </td>
                    <td>

                    </td>
                    <td>
                    </td>
                    <td>
                        停止飘动
                    </td>
                </tr>
                <tr>
                    <td>
                        pause()
                    </td>
                    <td>

                    </td>
                    <td>
                    </td>
                    <td>
                        暂停飘动
                    </td>
                </tr>
                <tr>
                    <td>
                        start()
                    </td>
                    <td>

                    </td>
                    <td>
                    </td>
                    <td>
                        开始飘动
                    </td>
                </tr>
                <tr>
                    <td>
                        setSpeed(int v)
                    </td>
                    <td>
                        (int)v:速度值
                    </td>
                    <td>
                    </td>
                    <td>
                        设置飘动速冻
                    </td>
                </tr>
                <tr>
                    <td>
                        setXStep(float v)
                    </td>
                    <td>
                         (float)v: 步长
                    </td>
                    <td>
                    </td>
                    <td>
                        设置横向移动步长
                    </td>
                </tr>
                <tr>
                     <td>
                         setYStep(float v)
                     </td>
                     <td>
                          (float)v: 步长
                     </td>
                     <td>
                     </td>
                     <td>
                         设置纵向移动步长
                     </td>
                 </tr>
             </table>
        </td>
    </tr>
</table>
</body>
</html>
